package com.jiezhuo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("iot_trigger_info")
public class IotTriggerInfo implements Serializable {

    private Integer id;

    private String name;

    private Integer nodeId;

    private Integer fromSensorId;

    private Integer toSensorId;

    private Integer iotTriggerConditionType;

    private String iotTriggerActionType;

    private String actionParams;

    private Integer seq;

    private Integer deleteFlag;

    private String conditionParams;

    private Integer iotTriggerAlarmLevel;

    private Integer iotTriggerAlarmFlag;

    private Integer iotTriggerStatus;

    private Integer triggerIntevalTime;

    private Date lastTriggerTime;

    private Integer recovery;

    private Integer aid;

    private Date atime;

    private Integer mid;

    private Date mtime;

}
